img = imread('road.jpg');
[feature,vision] = extractHOGFeatures(double(img),'CellSize',[8 8]);
figure(1);imshow(img);
hold on
plot(vision)

% img = imread('L.jpg');
% [feature,vision] = extractHOGFeatures(double(img),'CellSize',[8 8]);
% figure(2);imshow(img);
% hold on
% plot(vision)